# coding=utf-8
import pandas as pd


class GLM(object):

    def __init__(self):
        self.min_price = 5

    @staticmethod
    def get_all_trade_days(stock_code):
        df = pd.read_csv(f'stocks/{stock_code}.csv')
        all_trade_date_arr = []
        for row in df.index:
            all_trade_date_arr.append(df.loc[row]['trade_date'])
        return all_trade_date_arr


glm = GLM()
